<!DOCTYPE html>
<html>
<head>
	<title></title>
	<style>
		
	</style>
</head>
<body>
	
</body>
	<script>
		var list = new Array(); //空数组
		var list = new Array(11); //指定数组长度
		var list = new Array(41,1,'1231',6,true,null);//指定数组初始值

		//JSON 方式
		//var list = []; //空数组
		var list = [41,1,'1231',6,true,null];//指定数组初始值

		//list[0] = 'abc';
		//list[1] = 666;
		//list[] = 666; //NO
		//
		
		console.log(list);
		console.log(typeof list);
		console.log(list.constructor);
		console.log(list.length);
		//console.log(list[0]);
		//console.log(list[50]);//undefined;

	</script>
</html>